home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwlt10.dir / 00016_Script_16 < prev    next >
Text File  |  1994-11-15  |  5KB  |  183 lines

  1. on startMovie
  2.   global inFrame, nowFrame, nowMovie, currWorld, realWorld, currMM
  3.   global lastFrame, dialogOn, jmpFrame, nextLT, prevLT
  4.   cursor 4
  5.   set prevLT = "FLWLT09"
  6.   set nextLT = "FLWLT11"
  7.   set dialogOn = FALSE
  8.   set currMM = "FLWMM"
  9.   set nowFrame = "ltpra907000°°°"
  10.   set inFrame = ""
  11.   puppetsprite 9, TRUE
  12.   puppetSprite 11, TRUE
  13.   puppetSprite 12, TRUE
  14.   set the immediate of sprite 11 to TRUE
  15.   set the immediate of sprite 12 to TRUE
  16.   puppetSprite 20, TRUE
  17.   puppetSprite 21, TRUE
  18.   puppetSprite 22, TRUE
  19.   puppetSprite 23, TRUE
  20.   set the immediate of sprite 20 to TRUE
  21.   set the immediate of sprite 23 to TRUE
  22. end startMovie
  23.  
  24. on stepMovie
  25.   global nowFrame,currFrame
  26.   if nowFrame <> currFrame then
  27.     seeAlsoList
  28.     set currFrame = nowFrame
  29.   end if
  30. end stepMovie
  31.  
  32. on stopMovie
  33.   put " " into field "seeAlsoText"
  34.   set the castNum of sprite 21 to 1050
  35.   puppetSprite 21, FALSE
  36.   updateStage
  37. end stopMovie
  38.  
  39. on saveLocals
  40.   global lastFrame, nowFrame, lastMovie, origLocH
  41.   set lastMovie = the movie
  42.   set lastFrame = nowFrame
  43. end saveLocals
  44.  
  45. on ltForStep
  46.   global inFrame, nextLT, ltQT
  47.   puppetSprite 4, FALSE
  48.   set inFrame = ""
  49.   set ltQT = FALSE
  50.   if the frame = 8 then
  51.     go to frame "ltexo911001°°°" of movie nextLT
  52.   else
  53.     go to marker (+1)
  54.     updateStage
  55.   end if
  56. end ltForStep
  57.  
  58. on ltBackStep
  59.   global inFrame, prevLT, ltQT
  60.   puppetSprite 4, FALSE
  61.   set inFrame = ""
  62.   set ltQT = FALSE
  63.   if the frame < 5 then
  64.     go to frame "ltpra904003°°°" of movie prevLT
  65.   else
  66.     go to marker (-1)
  67.     updateStage
  68.   end if
  69. end ltBackStep
  70.  
  71. on checkNav
  72.   if rollover(12) then
  73.     set the castNum of sprite 12 to the number of cast "leftUp"
  74.   else
  75.     set the castNum of sprite 12 to the number of cast "leftRt"
  76.   end if
  77.   
  78.   if rollover(11) then
  79.     set the castNum of sprite 11 to the number of cast "rightUp"
  80.   else
  81.     set the castNum of sprite 11 to the number of cast "rightRt"
  82.   end if
  83.   cursor -1
  84.   updateStage
  85. end checkNav
  86.  
  87. on buttonState
  88.   global FrankNav, bflag, nowFrame, noTx, dialogOn
  89.   
  90.   if dialogOn = FALSE then
  91.     
  92.     --sticking local call here for convenience
  93.     worldLite
  94.     if the mouseV > 200 or bFlag = TRUE then
  95.       set bFlag = FALSE
  96.       doState
  97.     end if
  98.   end if
  99. end buttonState
  100.  
  101. on scrollRight
  102.   if the clickon = 11 then
  103.     sound stop 1
  104.     startTimer
  105.     repeat while the timer < 2
  106.       set the castNum of sprite 11 to the number of cast "rightDn"
  107.       updateStage
  108.     end repeat
  109.     timeRight
  110.     flush
  111.   end if   
  112. end scrollRight
  113.  
  114. on scrollLeft
  115.   if the clickon = 12 then
  116.     sound stop 1
  117.     startTimer
  118.     repeat while the timer < 2
  119.       set the castNum of sprite 12 to the number of cast "leftDn"
  120.       updateStage
  121.     end repeat
  122.     timeLeft
  123.     flush
  124.   end if  
  125. end scrollLeft
  126.  
  127. on timeLeft
  128.   global prevLt
  129.   go to movie prevLT
  130. end timeLeft
  131.  
  132. on timeRight
  133.   global nextLt
  134.   go to movie nextLT
  135. end timeRight
  136.  
  137. on worldLite
  138.   set the castNum of sprite 9 to 2
  139.   if rollover(9) then
  140.     set the castNum of sprite 9 to 15
  141.   end if
  142. end worldLite
  143.  
  144. on jumpVLB10
  145.   sound stop 1
  146.   if the clickOn < 7 or the clickOn > 23 then
  147.     if the mouseH > 168 and the mouseH < 268 and the mouseV > 105 and the mouseV < 225 then
  148.       puppetSprite 4, FALSE
  149.       go to frame "ltpra907001°°°"
  150.     else if the mouseH > 303 and the mouseH < 470 and the mouseV > 75 and the mouseV < 207 then
  151.       puppetSprite 4, FALSE
  152.       go to frame "ltpra907002°°°"
  153.     else if the mouseH > 480 and the mouseH < 618 and the mouseV > 94 and the mouseV < 225 then
  154.       puppetSprite 4, FALSE
  155.       go to frame "ltpra907003°°°"
  156.     else 
  157.       nothing
  158.     end if
  159.   end if
  160.   flush
  161. end jumpVLB10
  162.  
  163. on rollVLB10
  164.   if the mouseH > 168 and the mouseH < 268 and the mouseV > 105 and the mouseV < 225 then
  165.     set the castNum of sprite 4 to 7
  166.     if the mouseDown then 
  167.       set the castNum of sprite 4 to 3
  168.     end if
  169.   else if the mouseH > 303 and the mouseH < 470 and the mouseV > 75 and the mouseV < 207 then
  170.     set the castNum of sprite 4 to 8
  171.     if the mouseDown then 
  172.       set the castNum of sprite 4 to 3
  173.     end if
  174.   else if the mouseH > 480 and the mouseH < 618 and the mouseV > 94 and the mouseV < 225 then
  175.     set the castNum of sprite 4 to 9
  176.     if the mouseDown then 
  177.       set the castNum of sprite 4 to 3
  178.     end if
  179.   else 
  180.     set the castNum of sprite 4 to 3
  181.   end if
  182.   updateStage
  183. end rollVLB10